package nuc.ss.wl.dao;



import nuc.ss.wl.entity.SC;
import nuc.ss.wl.entity.S_SC_C;


import java.util.List;


public interface SCDao {

    /**
     *
     * @param sc
     * @return
     */
    public int save(SC sc);

    /**
     *
     * @param sno
     * @param cno
     * @return
     */
    public int delete(int sno, int cno);

    /**
     *
     * @param sc
     * @return
     */
    public int update(SC sc);

    /**
     *
     * @return
     */
    public List<S_SC_C> findAll(int cno);

    /**
     *
     * @param sno
     * @return
     */
    public SC findBySnoAndCno(int sno, int cno);

}
